%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%% Signature
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}
    \frametitle{Signature génétique}
        \begin{itemize}
            \item Carastéristique identique dans les gènes d'un taxon.
            \item Différents pour deux taxons différents
            \item "Code barre" d'un taxon
            \item Signature pour nous = Comptage de k-mots dans les séquences
        \end{itemize}

\end{frame}
        
        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%



%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%% Comptage
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}
    \frametitle{Principe du comptage}
        \begin{itemize}
            \item Compter la fréquence des mots de taille k
            \item Pattern : $\#\_\#\#$
            \item Nombre de $\# = k$
        \end{itemize}
        \pause
        \begin{center}
            \begin{tabular}{*{4}{c}}
                A & C & G & T  \\
               \# & \_ & \# &  \# \\
                $\downarrow$  &  &  &  \\
                A & & &  \\
            \end{tabular} 
        \end{center}

\end{frame}
\input{./animPattern.tex}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%% Exemple Comptage
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}
    \frametitle{Exemple de comptage de k-mots} 
    %\begin{columns}
        
    
       \begin{center}
            %\begin{column}{0.5\textwidth}
                \begin{tabular}{*{8}{c}}
                   A&C&T&A&C&C&T&A \pause \\
                   \# & \_ & \# &  &&&& \\
                \end{tabular} 
             %\end{column}
            \newline
            %\begin{column}{0.5\textwidth}
              \begin{tabular}{*{17}{c}}
                    &&&&&&&&&&&&&&& \\
                    &&&&&&&&&&&&&&& \\
                    &&&&&&&&&&&&&&& \\
                    &&&&&&&&&&&&&&& \\
                \end{tabular}
                \pause
                 \begin{center}
              On a $4^2$ mots possibles. ($k = 2$)
          \end{center}
            \resizebox{\linewidth}{!}{
                \begin{tabular}{|*{16}{c|}}
                    \hline
                     AA & AC & AG & AT & CA & CC & CG & CT & GA & GC & GG & GT & TA & TC & TG & TT \\
                     \hline
                     0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\
                    \hline
                \end{tabular}}
           % \end{column}
        \end{center}
     %\end{columns}
\end{frame}
\input{animExemple.tex}



